﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title - Arbalest</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="Arbalest" />
    <meta name="author" content="Ong Zhi Xian" />
    @Styles.Render("~/styles/bootstrap")
    <style type="text/css">
        body
        {
            padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
        }
        @RenderSection("styles", required: false)
    </style>
    @Styles.Render("~/styles/bootstrap-responsive")
    @Styles.Render("~/styles/site")
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="../assets/js/html5shiv.js"></script>
    <![endif]-->
    <!-- Fav and touch icons -->
    @*
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
      <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
                    <link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
                                   <link rel="shortcut icon" href="../assets/ico/favicon.png">
*@
    @Styles.Render("~/styles/bootstrap-responsive")
    @Styles.Render("~/styles/wijimo-midnight")
</head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container.fullwidth">

                @*<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar">
                    </span>
                </button>*@
                @*@Html.ActionLink("Arbalest", "Index", "Home", null, new { @class = "brand" })*@
                <div class="nav-collapse collapse">
                    @*@Html.Partial("_LoginPartial")*@
                    @Html.Partial("_WijimoMenuPartial")
                    @*@Html.Partial("_MenuPartial")*@
                    
                    @*<form class="navbar-form pull-right">
                        
                          @*<input class="span2" type="text" placeholder="Email">
                          <input class="span2" type="password" placeholder="Password">
                          <button type="submit" class="btn">Sign in</button>*@ @*</form>*@
                </div>

                <!--/.nav-collapse -->
            </div>
        </div>
    </div>
    <div class="container">
        @Html.Partial("~/Views/Shared/_AlertPart.cshtml", TempData[DataHelper.TempData.Alert])
        @RenderSection("featured", required: false)
        @RenderBody()
        @*@Html.Partial("~/Views/Shared/_ExceptionPartial.cshtml", TempData[DataHelper.TempData.Exception])*@
    </div>
    <p />
    <!-- /container -->
    @Scripts.Render("~/scripts/jquery")
    @Scripts.Render("~/scripts/jqueryui")
    @Scripts.Render("~/scripts/bootstrap")
    @Scripts.Render("~/scripts/wijimo")
    <script type="text/javascript">
    (function ($) {
        "use script";
        $(document).ready(function () {
            var $flyoutmenu = $("#flyoutmenu");
            $flyoutmenu.wijmenu({
                showAnimation: {
                    animated: "slide",
                    option: null,
                    duration: 150,
                    easing: null
                }
            });
            $flyoutmenu.removeClass("ui-helper-hidden-accessible");

            $("table td.numeric").each(function (index, val) {
                if (parseFloat(val.innerText) < 0) {
                    $(val).addClass("negative");
                }
            });

            $("table td.nullable").each(function (index, val) {
                if (!parseFloat(val.innerText)) {
                    $(val).addClass("null");
                }
            });

        });
    } (jQuery));
    </script>
    @RenderSection("scripts", required: false)
</body>
</html>